package com.mallcloud.mall.admin.api.dto;

import com.mallcloud.mall.admin.api.entity.SysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@ApiModel(value = "UserDTO", description = "系统用户传输对象")
@Data
@EqualsAndHashCode(callSuper = true)
public class UserDTO extends SysUser {

	@ApiModelProperty(value = "角色id集合")
	private List<Long> role;

	@ApiModelProperty(value = "部门id")
	private Long deptId;

	@ApiModelProperty(value = "岗位ID")
	private List<Long> post;

	@ApiModelProperty(value = "新密码")
	private String newpassword1;

}
